<?php
/*------------------------------------------------------------------------

# TZ Portfolio Extension

# ------------------------------------------------------------------------

# author    DuongTVTemPlaza

# copyright Copyright (C) 2012 templaza.com. All Rights Reserved.

# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL

# Websites: http://www.templaza.com

# Technical Support:  Forum - http://templaza.com/Forum

-------------------------------------------------------------------------*/

//no direct access
defined('_JEXEC') or die();
?>
<?php
if($list):
?>
<div class="weblinks<?php echo $moduleclass_sfx; ?> TzServices">
        <?php foreach ($list as $i => $item) :	?>
            <?php if($i % 2 == 0):?>
                <div class="row-fluid">
        <?php endif;?>
        <div class="span6">
            <h3 class="title"><?php echo $item -> services_title;?></h3>
            <div class="image">
                <span style="background-image: url(<?php echo JUri::base(true).'/'.$item -> services_image;?>);"></span>
            </div>

                <div class="description"><?php echo $item -> services_description;?></div>

            <?php if ($params->get('description', 0)) : ?>
                <?php echo nl2br($item->services_description); ?>
            <?php endif; ?>
        </div>
            <?php if($i % 2 == 1):?>
                    </div>
            <?php endif;?>
        <?php endforeach; ?>
</div>
<?php endif;?>